﻿<%@ Page Language="C#" MasterPageFile="~/Controls/AdminPage.master" AutoEventWireup="true" CodeFile="Contracts.Edit.aspx.cs" Inherits="Pages_Hr_Contracts_Edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<article>
	<asp:Label ID="lblTtitle" runat="server" Text="Thông tin hợp đồng" CssClass="title"></asp:Label>
    <form class="uniform">
	    <dl class="inline">
			<dt><label for="site_title">Nhân viên *</label></dt>
			<dd>
				<asp:TextBox ID="txtFullName" ReadOnly="true" runat="server" CssClass="medium"></asp:TextBox>
			</dd>

			<dt><label for="site_title">Ngày sinh *</label></dt>
			<dd>
				<asp:TextBox ID="txtBirthday" ReadOnly="true" runat="server" CssClass="medium"></asp:TextBox>
			</dd>
			
			<dt><label for="tagline">Loại hợp đồng *</label></dt>
			<dd>
				<asp:DropDownList ID="drpContractType" DataTextField="Name" DataValueField="TypeID" runat="server"></asp:DropDownList>
			</dd>

			<dt><label for="tagline">Công ty *</label></dt>
			<dd>
				<asp:DropDownList ID="drpCompany" DataTextField="Name" DataValueField="DepartmentID" runat="server"></asp:DropDownList>
			</dd>

			<dt><label for="site_title">Số hiệu hợp đồng *</label></dt>
			<dd>
				<asp:TextBox ID="txtContractNumber" runat="server" CssClass="medium"></asp:TextBox>
			</dd>
			
			<dt><label for="site_title">Ngày ký *</label></dt>
			<dd>
				<asp:TextBox ID="txtSignedTime" runat="server" CssClass="medium"></asp:TextBox>
			</dd>
			
			<dt><label for="site_title">Ngày bắt đầu *</label></dt>
			<dd>
				<asp:TextBox ID="txtBeginTime" runat="server" CssClass="medium"></asp:TextBox>
			</dd>
			
			<dt><label for="site_title">Ngày kết thúc *</label></dt>
			<dd>
				<asp:TextBox ID="txtEndTime" runat="server" CssClass="medium"></asp:TextBox>
			</dd>
			
			<dt><label for="site_title">Trạng thái</label></dt>
			<dd>
				<asp:CheckBox ID="cbIsFinish" runat="server"></asp:CheckBox>
				<small>Chọn nếu hợp đồng đã kết thúc</small>
			</dd>
			
			<dt><label for="site_title">Chú thích</label></dt>
			<dd>
				<asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" CssClass="medium"></asp:TextBox>
			</dd>
			
		</dl>
	    <p>
	        <asp:Button ID="btUpdate" runat="server" Text="LƯU" CssClass="button blue" OnClick="btUpdate_Click" Width="80px"></asp:Button>
	        <asp:Button ID="btDelete" runat="server" Text="XÓA" CssClass="button red" OnClick="btDelete_Click" Width="80px"></asp:Button>
	        <asp:Button ID="btCancel" runat="server" Text="HUỶ" CssClass="button gray" OnClick="btCancel_Click" Width="80px"></asp:Button>
	    </p>
    </form>
</article>
</asp:Content>

